package com.ruoyi.threeViolation.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 三违处罚对象 violation_penalize
 *
 * @author lth
 * @date 2023-12-18
 */
public class ViolationPenalize extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @JsonSerialize(using = ToStringSerializer.class)
    private String id;

    /** 单据编码 */
    @Excel(name = "单据编码")
    private String volationCode;

    /** 违章单位 */
    @Excel(name = "违章单位")
    private String volationOrgan;

    /** 违章部门 */
    @Excel(name = "违章部门")
    private String volationDeptId;

    /** 违章人ID */
    @Excel(name = "违章人ID")
    private String volationUserId;

    /** 违章人 */
    @Excel(name = "违章人")
    private String volationUser;

    /** 违章人电话 */
    @Excel(name = "违章人电话")
    private String volationPhone;

    /** 违章地点 */
    @Excel(name = "违章地点")
    private String volationPlace;

    /** 违章事实 */
    @Excel(name = "违章事实")
    private String volationFact;

    /** 处罚发生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "处罚发生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date volationDate;

    /** 违章类别 */
    @Excel(name = "违章类别")
    private String volationCategory;

    /** 违章等级 */
    @Excel(name = "违章等级")
    private String volationLevel;

    /** 罚款金额 */
    @Excel(name = "罚款金额")
    private BigDecimal penaltyAmount;

    /** 处罚人ID */
    @Excel(name = "处罚人ID")
    private String punisherId;

    /** 处罚人姓名 */
    @Excel(name = "处罚人姓名")
    private String punisherName;

    /** 处罚图像 */
    @Excel(name = "处罚图像")
    private String penaltyImage;

    /** 处罚黑名单，默认CF，CF处罚，HMD黑名单 */
    @Excel(name = "处罚黑名单，默认CF，CF处罚，HMD黑名单")
    private String penaltyBlacklist;

    /** 黑名单人员ID */
    @Excel(name = "黑名单人员ID")
    private String personnelId;

    /** 黑名单人员名称 */
    @Excel(name = "黑名单人员名称")
    private String personnelName;

    /** 黑名单人员工种 */
    @Excel(name = "黑名单人员工种")
    private String workType;

    /** 黑名单人员工种名称 */
    @Excel(name = "黑名单人员工种名称")
    private String workTypeName;

    /** 黑名单人员处理人 */
    @Excel(name = "黑名单人员处理人")
    private String handleById;

    /** 黑名单人员处理人名称 */
    @Excel(name = "黑名单人员处理人名称")
    private String handleBy;

    /** 创建人姓名 */
    @Excel(name = "创建人姓名")
    private String createByName;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createAt;

    /** 更新人姓名 */
    @Excel(name = "更新人姓名")
    private String updateByName;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateAt;

    /** 版本 */
    @Excel(name = "版本")
    private String version;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 扩展字段1 */
    @Excel(name = "扩展字段1")
    private String extra1;

    /** 扩展字段2 */
    @Excel(name = "扩展字段2")
    private String extra2;

    /** 扩展字段3 */
    @Excel(name = "扩展字段3")
    private String extra3;

    /** 违章登记ID */
    @Excel(name = "违章登记ID")
    private String volationId;

    /** 三违考核ID */
    @Excel(name = "三违考核ID")
    private String assessmentId;

    /** 被处罚人类型 */
    @Excel(name = "被处罚人类型")
    private String punishedType;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setVolationCode(String volationCode)
    {
        this.volationCode = volationCode;
    }

    public String getVolationCode()
    {
        return volationCode;
    }
    public void setVolationOrgan(String volationOrgan)
    {
        this.volationOrgan = volationOrgan;
    }

    public String getVolationOrgan()
    {
        return volationOrgan;
    }
    public void setVolationDeptId(String volationDeptId)
    {
        this.volationDeptId = volationDeptId;
    }

    public String getVolationDeptId()
    {
        return volationDeptId;
    }
    public void setVolationUserId(String volationUserId)
    {
        this.volationUserId = volationUserId;
    }

    public String getVolationUserId()
    {
        return volationUserId;
    }
    public void setVolationUser(String volationUser)
    {
        this.volationUser = volationUser;
    }

    public String getVolationUser()
    {
        return volationUser;
    }
    public void setVolationPhone(String volationPhone)
    {
        this.volationPhone = volationPhone;
    }

    public String getVolationPhone()
    {
        return volationPhone;
    }
    public void setVolationPlace(String volationPlace)
    {
        this.volationPlace = volationPlace;
    }

    public String getVolationPlace()
    {
        return volationPlace;
    }
    public void setVolationFact(String volationFact)
    {
        this.volationFact = volationFact;
    }

    public String getVolationFact()
    {
        return volationFact;
    }
    public void setVolationDate(Date volationDate)
    {
        this.volationDate = volationDate;
    }

    public Date getVolationDate()
    {
        return volationDate;
    }
    public void setVolationCategory(String volationCategory)
    {
        this.volationCategory = volationCategory;
    }

    public String getVolationCategory()
    {
        return volationCategory;
    }
    public void setVolationLevel(String volationLevel)
    {
        this.volationLevel = volationLevel;
    }

    public String getVolationLevel()
    {
        return volationLevel;
    }
    public void setPenaltyAmount(BigDecimal penaltyAmount)
    {
        this.penaltyAmount = penaltyAmount;
    }

    public BigDecimal getPenaltyAmount()
    {
        return penaltyAmount;
    }
    public void setPunisherId(String punisherId)
    {
        this.punisherId = punisherId;
    }

    public String getPunisherId()
    {
        return punisherId;
    }
    public void setPunisherName(String punisherName)
    {
        this.punisherName = punisherName;
    }

    public String getPunisherName()
    {
        return punisherName;
    }
    public void setPenaltyImage(String penaltyImage)
    {
        this.penaltyImage = penaltyImage;
    }

    public String getPenaltyImage()
    {
        return penaltyImage;
    }
    public void setPenaltyBlacklist(String penaltyBlacklist)
    {
        this.penaltyBlacklist = penaltyBlacklist;
    }

    public String getPenaltyBlacklist()
    {
        return penaltyBlacklist;
    }
    public void setPersonnelId(String personnelId)
    {
        this.personnelId = personnelId;
    }

    public String getPersonnelId()
    {
        return personnelId;
    }
    public void setPersonnelName(String personnelName)
    {
        this.personnelName = personnelName;
    }

    public String getPersonnelName()
    {
        return personnelName;
    }
    public void setWorkType(String workType)
    {
        this.workType = workType;
    }

    public String getWorkType()
    {
        return workType;
    }
    public void setWorkTypeName(String workTypeName)
    {
        this.workTypeName = workTypeName;
    }

    public String getWorkTypeName()
    {
        return workTypeName;
    }
    public void setHandleById(String handleById)
    {
        this.handleById = handleById;
    }

    public String getHandleById()
    {
        return handleById;
    }
    public void setHandleBy(String handleBy)
    {
        this.handleBy = handleBy;
    }

    public String getHandleBy()
    {
        return handleBy;
    }
    public void setCreateByName(String createByName)
    {
        this.createByName = createByName;
    }

    public String getCreateByName()
    {
        return createByName;
    }
    public void setCreateAt(Date createAt)
    {
        this.createAt = createAt;
    }

    public Date getCreateAt()
    {
        return createAt;
    }
    public void setUpdateByName(String updateByName)
    {
        this.updateByName = updateByName;
    }

    public String getUpdateByName()
    {
        return updateByName;
    }
    public void setUpdateAt(Date updateAt)
    {
        this.updateAt = updateAt;
    }

    public Date getUpdateAt()
    {
        return updateAt;
    }
    public void setVersion(String version)
    {
        this.version = version;
    }

    public String getVersion()
    {
        return version;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setExtra1(String extra1)
    {
        this.extra1 = extra1;
    }

    public String getExtra1()
    {
        return extra1;
    }
    public void setExtra2(String extra2)
    {
        this.extra2 = extra2;
    }

    public String getExtra2()
    {
        return extra2;
    }
    public void setExtra3(String extra3)
    {
        this.extra3 = extra3;
    }

    public String getExtra3()
    {
        return extra3;
    }
    public void setVolationId(String volationId)
    {
        this.volationId = volationId;
    }

    public String getVolationId()
    {
        return volationId;
    }
    public void setAssessmentId(String assessmentId)
    {
        this.assessmentId = assessmentId;
    }

    public String getAssessmentId()
    {
        return assessmentId;
    }
    public void setPunishedType(String punishedType)
    {
        this.punishedType = punishedType;
    }

    public String getPunishedType()
    {
        return punishedType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("volationCode", getVolationCode())
            .append("volationOrgan", getVolationOrgan())
            .append("volationDeptId", getVolationDeptId())
            .append("volationUserId", getVolationUserId())
            .append("volationUser", getVolationUser())
            .append("volationPhone", getVolationPhone())
            .append("volationPlace", getVolationPlace())
            .append("volationFact", getVolationFact())
            .append("volationDate", getVolationDate())
            .append("volationCategory", getVolationCategory())
            .append("volationLevel", getVolationLevel())
            .append("penaltyAmount", getPenaltyAmount())
            .append("punisherId", getPunisherId())
            .append("punisherName", getPunisherName())
            .append("penaltyImage", getPenaltyImage())
            .append("penaltyBlacklist", getPenaltyBlacklist())
            .append("personnelId", getPersonnelId())
            .append("personnelName", getPersonnelName())
            .append("workType", getWorkType())
            .append("workTypeName", getWorkTypeName())
            .append("handleById", getHandleById())
            .append("handleBy", getHandleBy())
            .append("createBy", getCreateBy())
            .append("createByName", getCreateByName())
            .append("createAt", getCreateAt())
            .append("updateBy", getUpdateBy())
            .append("updateByName", getUpdateByName())
            .append("updateAt", getUpdateAt())
            .append("version", getVersion())
            .append("status", getStatus())
            .append("extra1", getExtra1())
            .append("extra2", getExtra2())
            .append("extra3", getExtra3())
            .append("remark", getRemark())
            .append("volationId", getVolationId())
            .append("assessmentId", getAssessmentId())
            .append("punishedType", getPunishedType())
            .toString();
    }
}
